<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 100px;
            height: 100px;
            overflow: hidden;
            /* background-color: red; */
            /* transition-property: all; */
            /* transition-duration: 3s; */
            /* transition-delay: 3s; */
            /* transition-timing-function: linear; */
        }
        /* div:hover{
            width: 200px;
            height: 200px;
            background-color: blue;
        } */
        div img{
            width: 100px;
            height: 100px;
            transition-property: all;
            transition-duration: 2s;
            transition-timing-function: linear;
        }
        img:hover{
            width: 120px;
            height: 120px;
        }
    </style>
</head>
<body>
    <div>
        <img src="./001.jpg" alt="">
    </div>
</body>
</html>